home *** CD-ROM | disk | FTP | other *** search
/ PC PowerPlay 58 / pcpp58a.iso / extras / quake 3 source / Q3A_ToolSource.exe / Main / GroupDlg.h < prev    next >
Encoding:
C/C++ Source or Header  |  2001-01-02  |  2.0 KB  |  70 lines

  1. #if !defined(AFX_GROUPDLG_H__92368487_9E05_454E_A66F_23A9A94A753B__INCLUDED_)
  2. #define AFX_GROUPDLG_H__92368487_9E05_454E_A66F_23A9A94A753B__INCLUDED_
  3.  
  4. #if _MSC_VER > 1000
  5. #pragma once
  6. #endif // _MSC_VER > 1000
  7. // GroupDlg.h : header file
  8. //
  9.  
  10. /////////////////////////////////////////////////////////////////////////////
  11. // CGroupDlg dialog
  12.  
  13. class CGroupDlg : public CDialog
  14. {
  15.   CImageList m_imgList;
  16. // Construction
  17. public:
  18.     virtual void OnOK();
  19.     virtual void OnCancel();
  20.     void InitGroups();
  21.     CGroupDlg(CWnd* pParent = NULL);   // standard constructor
  22.  
  23.   HTREEITEM m_hWorld;
  24.  
  25. // Dialog Data
  26.     //{{AFX_DATA(CGroupDlg)
  27.     enum { IDD = IDD_DLG_GROUP };
  28.     CTreeCtrl    m_wndTree;
  29.     CButton    m_wndEdit;
  30.     CButton    m_wndDel;
  31.     CButton    m_wndAdd;
  32.     //}}AFX_DATA
  33.  
  34. // Overrides
  35.     // ClassWizard generated virtual function overrides
  36.     //{{AFX_VIRTUAL(CGroupDlg)
  37.     public:
  38.     virtual BOOL OnChildNotify(UINT message, WPARAM wParam, LPARAM lParam, LRESULT* pLResult);
  39.     protected:
  40.     virtual void DoDataExchange(CDataExchange* pDX);    // DDX/DDV support
  41.     virtual BOOL OnNotify(WPARAM wParam, LPARAM lParam, LRESULT* pResult);
  42.     //}}AFX_VIRTUAL
  43.  
  44. // Implementation
  45. protected:
  46.  
  47.     // Generated message map functions
  48.     //{{AFX_MSG(CGroupDlg)
  49.     afx_msg void OnSize(UINT nType, int cx, int cy);
  50.     virtual BOOL OnInitDialog();
  51.     afx_msg void OnBtnAdd();
  52.     afx_msg void OnBtnDel();
  53.     afx_msg void OnBtnEdit();
  54.     afx_msg void OnRclickTreeGroup(NMHDR* pNMHDR, LRESULT* pResult);
  55.     afx_msg void OnEndlabeleditTreeGroup(NMHDR* pNMHDR, LRESULT* pResult);
  56.     afx_msg void OnClickTreeGroup(NMHDR* pNMHDR, LRESULT* pResult);
  57.     afx_msg void OnSetdispinfoTreeGroup(NMHDR* pNMHDR, LRESULT* pResult);
  58.     afx_msg void OnBegindragTreeGroup(NMHDR* pNMHDR, LRESULT* pResult);
  59.     //}}AFX_MSG
  60.     DECLARE_MESSAGE_MAP()
  61. };
  62.  
  63. //{{AFX_INSERT_LOCATION}}
  64. // Microsoft Visual C++ will insert additional declarations immediately before the previous line.
  65.  
  66. extern CGroupDlg *g_pGroupDlg;
  67.  
  68.  
  69. #endif // !defined(AFX_GROUPDLG_H__92368487_9E05_454E_A66F_23A9A94A753B__INCLUDED_)
  70.